package com.durian.financial.api.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @Author zhouzhiyi
 * @Date 2022/6/29 16:49
 * @Description 申请状态
 */
@Getter
public enum ApplyStateEnum {

    SHZ("待审核",1L), 	//申请中
    CSPASS("初审通过(待复审)",2L), 	//初审通过
    CSNOPASS("初审不通过", 3L), //初审不通过
    FSPASS("复审通过", 4L),	//复审通过
    FSNOPASS("复审不通过", 5L);	//复审不通过

    @EnumValue
    @JsonValue
    private final String value;

    private final Long index;

    ApplyStateEnum(String value, Long index) {
        this.value = value;
        this.index = index;
    }
}
